Dollie\Core\Modules\Subscription C

Total Complexity 107
Dependencies 9
Dependents 2
Total lines 828
Lines of code 473
Logical lines of code 264
Comment lines 205
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
get_customer_subscriptions()
A
41 14 57
check_customer_subscriptions()
S
52 7 23
add_single_customer_action_cron()
S
47 6 34
site_limit_reached()
S
60 7 11
stop_customer_container()
S
49 5 31
size_limit_reached()
S
59 6 12
get_checkout_link()
S
52 5 23
undeploy_customer_container()
S
51 4 25
get_undeployed_container_list()
S
49 3 31
get_stopped_container_list()
S
49 3 31
get_partner_subscription()
S
60 4 13
send_daily_update_email()
S
58 3 14
subscription_name()
S
67 3 7
has_bought_product()
S
59 2 14
has_subscription()
S
70 2 6
get_included_blueprints()
S
65 2 9
get_excluded_blueprints()
S
65 2 9
has_partner_subscription()
S
69 2 7
is_partner_subscription_trial()
S
69 2 7
storage_available()
S
68 2 7
sites_available()
S
66 2 8
get_partner_subscription_credits()
S
69 2 7
create_daily_email_notification()
S
70 2 6
do_not_schedule_post_types()
S
70 2 6
create_daily_undeployment_cron()
S
70 2 6
create_daily_container_stop_cron()
S
70 2 6
create_daily_customer_removal_cron()
S
70 2 6
create_daily_customer_status_cron()
S
70 2 6
count_stopped_containers()
S
61 1 13
count_undeployed_containers()
S
61 1 13
__construct()
S
60 1 13
send_out_daily_email()
S
82 1 3
daily_undeployment_check()
S
82 1 3
daily_removal_check()
S
82 1 3
daily_subscription_check()
S
82 1 3